/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styling */
.header {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 0px;
    background: white;
    z-index: 10;
    height: 110px;
}

/* Navigation Styles */
.nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav li {
  position: relative;
}

.nav a {
  text-decoration: none;
  color: #333;
  padding: 14px 20px;
  display: block;
  margin-right: 0px;
}

.nav a:hover {
  background-color: #f1f1f1;
}
/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  padding : 10px 5px;
  min-width: 160px;
  min-height: 70px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 10;
  border-radius: 5px;
  /* Add a small offset to ensure no gap between button and menu */
  top: 100%; /* Aligns the menu directly below the button */
  left: 0;
  /* margin-top: 10px; */
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

/* Hover Styles */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

.dropdown:hover .dropbtn {
  background-color: #f1f1f1;
}

/* Transition Effect */
.dropdown-content {
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

/* Ensure hover state stays active */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}


/* Logo Section */
.header .logo {
    display: flex;
    align-items: center;
}

.header .logo img {
    width: 160px;
    height: 110px;
    margin-left: 10px;
    margin-top: -10px;
    margin-bottom: -15px;
}

.header .logo p1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
    line-height: 1.5;
    margin: 0;
}

.header .logo p2 {
    font-size: 1.0 rem;
    font-weight: bold;
    color: #000000;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

.logo .text {
  display: flex;
  flex-direction: column;
}

/* Navigation Menu */
.nav {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s ease;
    font-family: 'DM Sans', sans-serif;
    /* font-size: 16px; */
}

.nav ul li a:hover {
    color: #44abd0;
    /* text-decoration: underline; */
}

/* Quote Button Styling */
.nav ul li a.sign-up {
    background: #007bff;
    color: #fff;
    padding: 5px 10px;
    border-radius: 7px;
}

.nav ul li a.quote-btn:hover {
    background: #0056b3;
}

/* Style for active menu item */
.nav ul li a.active {
  color: #44abd0; /* Change this to your desired active color */
  font-weight: bold; /* Optional: Makes the active item bold */
}


/* Dropdown Styles */
.profile-dropdown {
  position: relative;
  display: inline-block;
}


.profile-dropdown .dropdown-content1 {
  position: absolute;
  top: 100%; /* Position the dropdown below the button */
  left: 0;
  transform: translateX(-50%); /* Optional: Adjust the offset further */
  background-color:rgb(255, 255, 255);
  min-width: 145px; /* Adjust width if necessary */
  z-index: 1000; /* Ensure it appears above other elements */
  /* box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);  */
  border-radius: 5px; /* Rounded corners */
  padding: 10px 0px;
}

.profile-dropdown .dropdown-content1 a {
  display: block; /* Ensures each item takes up its line */
  padding: 5px 15px; /* Adds space inside each option */
  margin-bottom: 5px; /* Adds space between options */
  text-decoration: none; /* Optional: Remove underline from links */
}

.profile-dropdown .dropdown-content1 a:last-child {
  margin-bottom: 0; /* Removes the margin from the last item */
}


/* Hover Styles */
.profile-dropdown:hover .dropdown-content1 {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Transition Effect */
.dropdown-content1 {
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}


/* Hide Profile Icon initially */
#profile-dropdown {
  display: none;
}


/* Hero Section Styling */
.hero {
    position:relative;
    height: 100vh;
    background: url('../images/background_image3.jpg') no-repeat center center/cover;
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adds a dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 400;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-content .btn {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.hero-content .btn:hover {
    background: #0056b3;
}

/* Internships Section */
.internships {
  padding: 30px 40px;
  text-align: center;
  background-color: #ffffff;
}

/* .internships h2 { */
  /* font-size: 32px;
  color: #2a2a2a;
  margin-top: -20px;
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif; */

  /* font-size: 32px; */
  /* font-weight: bold; */
  /* color: #333;
  margin-bottom: 20px;
  margin-top: -10px;
  font-family: 'DM Sans', sans-serif;

} */
  .internships h2 {
  font-size: 2.5rem;
  color: #2a2a2a;
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
  }
.internships p {
  font-size: 1.1rem;
  color: #6b6b6b;
  margin-bottom: 40px;
}

/* Card Container */
.internship-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: relative;
  height : 400px;
  /* background-color :#0056b3; */
}

.internship-card {
  display: flex;
  align-items: center;
  height : 400px;
  /* max-height: 250px; */
  width: 80%;
  max-width: 1200px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  padding: 20px;
}

/* Left Side - Image */
.internship-image img {
  width: 400px;
  height: 330px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
}

/* Right Side - Details */
.internship-details {
  flex: 1;
}

.internship-details h3 {
  font-size: 30px;
  color: #333;
  margin-bottom: 10px;
  margin-top: -20px;
  font-family: 'DM Sans', sans-serif;
}

.internship-details p {
  font-size: 1.1rem;
  color: #3e3e3e;
  margin-bottom: 50px;
  margin-top: 30px;
  text-align: justify;
  margin-left: 40px;
  margin-right: 40px;
}

.learn-more {
  background-color: #007bff;
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: self-start;
}

.learn-more:hover {
  background-color: #0056b3;
}




/* Arrow Buttons */
.arrow-buttons {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none; /* Prevent interaction with the container itself */
}

.arrow-buttons span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  font-size: 1.5rem;
  color: #000000;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto; /* Enable interaction with arrows */
}

.arrow-buttons span:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  color: #000000;
}

.arrow-buttons span.disabled {
  opacity: 0;
  visibility: hidden;
}

.arrow-buttons .left-arrow {
  margin-left: 40px;
}

.arrow-buttons .right-arrow {
  margin-right: 40px;
}





/* Services Section */
.services {
  padding: 20px 80px;
  text-align: center;
  background-color: #ffffff;
}

.services h2 {
  font-size: 2.5rem;
  color: #2a2a2a;
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}

.services p {
  font-size: 1.1rem;
  color: #6b6b6b;
  margin-bottom: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  height: 200px;
}

.service-item {
  background: #ffffff;
  padding: 10px 50px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item .icon {
  font-size: 2rem;
  color: #6b6bff;
  margin-bottom: 5px;
  margin-top: 5px;

}

.service-item h3 {
  font-size: 1.5rem;
  color: #2a2a2a;
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}

.service-item p {
  font-size: 1rem;
  color: #6b6b6b;
  line-height: 1.6;
}



.motto {
  background-color: #ffffff;
  padding: 50px 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.motto h2 {
  font-size: 2.5rem;
  color: #2a2a2a;
  /* margin-bottom: 30px; */
  margin-top: -20px;
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif;

}

.motto-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height : 300px;
    /* max-height: 250px; */
  width: 80%;
  max-width: 1150px;
}

.motto-content h1 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.motto-content h1 .quote-mark {
  font-size: 40px;
  color: #007bff; /* Change color if needed */
  font-weight: normal;
}

.motto-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
  margin-left: 30px;
  margin-right: 30px;
  text-align: justify;
}



/* Footer Section */
footer {
    background-color: #ffffff;
    color: #000000;
    padding: 40px 40px;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
  }
  
  /* Top Section */
  .footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #424242;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  
  /* Logo Section */
  .footer-logo img {
    width: 100px;
    margin-bottom: 10px;
    margin-left: 40px;
  }
  
  .footer-logo p {
    max-width: 300px;
    font-size: 16px;
  }
  
  .social-icons a {
    color: #000000;
    margin-right: 25px;
    font-size: 20px;
    transition: color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #007bff;
  }
  
  /* Quick Links */
  .footer-links h4, .footer-contact h4 {
    margin-bottom: 10px;
    font-size: 16px;
    text-transform: uppercase;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links ul li {
    margin-bottom: 8px;
  }
  
  .footer-links ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
  }
  
  .footer-links ul li a:hover {
    color: #007bff;
  }
  
  /* Contact Info */
  .footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  /* Bottom Section */
  .footer-bottom {
    text-align: center;
    font-size: 16px;
    /* padding: 0px 0; */
    /* background-color: #181818; */
    margin-bottom: -10px;
  }
  
  /* Mobile First - Make the logo and navigation menu more mobile-friendly */
@media (max-width: 768px) {
  .header {
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
  }

  .header .logo img {
    width: 120px;
    height: auto;
  }

  .header .logo .text {
    text-align: center;
  }

  .nav ul {
    display: block;
    text-align: center;
    margin-top: 20px;
  }

  .nav ul li {
    margin: 10px 0;
  }

  .nav a {
    padding: 12px;
    display: inline-block;
  }

  .dropdown-content {
    min-width: 100%;
  }

  .profile-dropdown .dropdown-content1 {
    min-width: 100%;
  }
}

/* Hero Section Styling */
.hero {
    position:relative;
    height: 100vh;
    background: url('../images/background_image3.jpg') no-repeat center center/cover;
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-attachment: fixed;
}

.hero-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Internships Section */
.internships {
  padding: 30px 40px;
  text-align: center;
  background-color: #ffffff;
}

.internships h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.internships p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Card Container */
.internship-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: relative;
  height: 400px;
  flex-wrap: wrap; /* Make it responsive */
}

.internship-card {
  display: flex;
  align-items: center;
  width: 80%;
  max-width: 1200px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  padding: 20px;
  margin-bottom: 20px;
}

/* Left Side - Image */
.internship-image img {
  width: 400px;
  height: 330px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
}

/* Right Side - Details */
.internship-details {
  flex: 1;
}

.internship-details h3 {
  font-size: 30px;
  margin-bottom: 10px;
}

.internship-details p {
  font-size: 1.1rem;
  margin-top: 30px;
  text-align: justify;
  margin-left: 40px;
  margin-right: 40px;
}

.learn-more {
  background-color: #007bff;
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: self-start;
}

.learn-more:hover {
  background-color: #0056b3;
}

/* Arrow Buttons */
.arrow-buttons {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}

.arrow-buttons span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  font-size: 1.5rem;
  color: #000000;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.arrow-buttons span:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  color: #000000;
}

/* Services Section */
.services {
  padding: 20px 80px;
  text-align: center;
  background-color: #ffffff;
}

.services h2 {
  font-size: 2.5rem;
}

.services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.services .service-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.services .service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .services .services-grid {
    grid-template-columns: 1fr 1fr; /* Two columns */
  }

  .hero-content h3 {
    font-size: 1.1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .internship-card-container {
    flex-direction: column; /* Stack the cards vertically */
  }

  .internship-card {
    width: 100%;
  }

  .internship-image img {
    width: 100%;
    height: auto;
  }

  .internship-details p {
    margin-left: 20px;
    margin-right: 20px;
  }

  .arrow-buttons span {
    display: none; /* Hide arrow buttons on smaller screens */
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo, .footer-links, .footer-contact {
    margin: 10px 0;
    text-align: center;
  }
}